package cn.ljlao.mall.product.goods.feign;

import cn.ljlao.common.dto.es.SkuEsModel;
import cn.ljlao.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author: LiuZhen
 * @Created: 2021/8/1 22:36
 * @Description:
 */
@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/product")
    public R productSaveUp(@RequestBody List<SkuEsModel> skuEsModels);
}
